package Server;

public class SuperAdmin extends User {//超级用户
    SuperAdmin(String userName, String passwd) {
        super(SUPERADMIN, userName, passwd);
    }

    private UserDB userDB = new UserDB();

    public boolean create(String user_id, String user_password, String user_auth) {
        return userDB.create(user_id, user_password, user_auth);
    }

    public boolean userDelete(String user_id) {
        return userDB.userDelete(user_id);
    }

    public boolean rootLogin(String user_id, String user_password) {
        return userDB.rootLogin(user_id, user_password);
    }

}